<div class="portlet box green">
	<div class="portlet-title">
		<div class="caption">
			<i class="fa fa-cogs"></i>
			数据列表
		</div>
		<div class="tools">
			<a href="javascript:;" class="collapse" data-original-title="" title=""> </a>
		</div>
		<div class="actions">
			<a href="javascript:;" class="btn white btn-sm ajax-search">
				<i class="fa fa-search"></i>
				查询
			</a>
			<a href="javascript:;" class="btn white btn-sm search-reset">
				<i class="fa fa-eraser"></i>
				清除
			</a>
		</div>
	</div>
	<div class="portlet-body">
		<div class="tabbable-line ">
			<ul class="nav nav-tabs ">
				<li>
					<a href="userInfo/detail?id=$!id" class="ajaxify">基本信息</a>
				</li>
				<li>
					<a href="userInfo/orderDetail?id=$!id" class="ajaxify"> 订单记录</a>
				</li>
				<li>
					<a href="userInfo/creditDetail?id=$!id" class="ajaxify"> 信用记录</a>
				</li>
				<li class="active">
					<a href="userInfo/scoreDetail?id=$!id" class="ajaxify"> 积分记录</a>
				</li>
				<li>
					<a href="userInfo/commendfriendDetail?id=$!id" class="ajaxify"> 推荐会员</a>
				</li>
				<li>
					<a href="userInfo/expDetail?id=$!id" class="ajaxify"> 经验值记录</a>
				</li>
				<li>
					<a href="userInfo/afterSaleDetail?id=$!id" class="ajaxify"> 售后记录</a>
				</li>
				<li>
					<a href="userInfo/invoiceDetail?id=$!id" class="ajaxify">开票记录</a>
				</li>
			</ul>
			<div class="portlet-body form">
				<form action="userInfo/scoreDetail" class="form-horizontal" method="get" id="searchForm">
					<div class="form-body">
						<div class="row">
							<div class="form-group">
								<div class="col-md-3">
									<label class="col-md-4 control-label">类型：</label>
									<div class="col-md-8">
										<select name="scoreType" class="form-control">
											<option value="">全部</option>
											<option value="MANUALLY_ADD">手动增加</option>
											<option value="MANUALLY_SUB">手动减少</option>
											<option value="MANUALLY_NEW">手动设置新积分</option>
											<option value="BINDING">绑定验证</option>
											<option value="CONCERN">关注积分</option>
											<option value="COMMEND">推荐积分</option>
											<option value="SHARE_ORDER">会员晒单</option>
											<option value="EARLIER_SHARE_ORDER">抢先晒单</option>
											<option value="DEDUCT">积分抵扣</option>
										</select>
									</div>
								</div>
								<div class="col-md-3">
									<label class="col-md-4 control-label">详细说明</label>
									<div class="col-md-8">
										<input type="text" class="form-control" name="detail" value="$!detail">
										<input type="hidden" value="$!id" name="id">
									</div>
								</div>
								<div class="col-md-3">
									<label class="control-label col-md-4">相关时间：</label>
									<label class="col-md-8">
										<input class="form-control" type="text" name="startTime" id="startTime" value="$!startTime" readonly>
										<i class="fa fa-calendar" style="position: absolute; right: 10px; top: 10px"></i>
									</label>
								</div>
								<div class="col-md-3">
									<label class="control-label col-md-2">至：</label>
									<label class="col-md-8">
										<input class="form-control" type="text" name="endTime" id="endTime" value="$!endTime" readonly>
										<i class="fa fa-calendar" style="position: absolute; right: 10px; top: 10px"></i>
									</label>
								</div>
							</div>
						</div>
					</div>
				</form>
			</div>

			<div class="tab-content">
				<div class="tab-pane active form">
					<div class="dataTables_wrapper no-footer">
						<div class="table-scrollable">
							<table class="table table-striped table-bordered table-hover" id="tableCategory">
								<thead>
									<tr>
										<th>相关时间</th>
										<th>类型</th>
										<th>积分</th>
										<th>详细说明</th>
									</tr>
								</thead>
								<tbody>
									#foreach($scoreLog in $!scoreLogPage.result)
									<tr>
										<td>$!scoreLog.createDate</td>
										<td>$!scoreLog.scoreType.name</td>
										<td>$!scoreLog.score</td>
										<td>$!scoreLog.note</td>
									</tr>
									#end
								</tbody>
							</table>
						</div>
						#set($page= $!scoreLogPage) #set($pageUrl="/userInfo/scoreDetail?$!queryString&pageNo=") #parse("_page.htm")
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<script src="/assets/scripts/views-date.js" type="text/javascript"></script>